<template>
  <div style="height: 100%; width: 100%">
    <layout-box one="用户管理" two="用户信息">
      <pie-charts :option="option" id="main"></pie-charts>
    </layout-box>
  </div>
</template>

<script>
import PieCharts from "../echarts/index.vue";
import Loading from "../loading";

export default {
  components: { Loading, PieCharts },
  data() {
    return {
      isLoading: true,
      option: {},
    };
  },
  created() {
    this.option = {
      xAxis: {
        type: "category",
        data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
      },
      yAxis: {
        type: "value",
      },
      series: [
        {
          data: [150, 230, 224, 218, 135, 147, 260],
          type: "line",
        },
      ],
    };
  },
  methods: {
  },
};
</script>

<style lang='less' scoped>
</style>
